Sets the viewport coordinates. More...
#include <kanzi/gfx/commands.hpp>
Public Member Functions | |
| SetViewportCommand () | |
| Constructor. | |
Public Member Functions inherited from kanzi::gfx::BaseCommand | |
| uint32_t | getSize () const |
| Gets the command size in bytes. | |
| uint8_t | getTag () const |
| Gets the command tag. | |
| CommandType | getType () const |
| Gets the command type. | |
| void | setTag (uint8_t tag) |
| Sets the command tag. | |
Public Attributes | |
| rects32 | viewport |
| Viewport rectangle. | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::gfx::BaseCommand | |
| BaseCommand (CommandType t, uint32_t s) | |
| Constructor. | |
| BaseCommand (const BaseCommand &other) | |
| Copy Constructor. | |
| BaseCommand & | operator= (const BaseCommand &other) |
| Assignment operator. | |
Sets the viewport coordinates.
The viewport coordinates are set also by a BeginRenderPassCommand.
|
inlineexplicit |
Constructor.
| rects32 kanzi::gfx::SetViewportCommand::viewport |
Viewport rectangle.